<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="description" content="Fantasy Football Premier League" />
    <meta name="keywords" content="premium football barclays league manager" />

	<title>Premium Football</title>
	<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
  	<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
  	<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
  	<script src="login.js"></script>
  	
	<link rel="icon" type="image/png" href="../images/background/ball.png">
	<link rel="stylesheet" type="text/css" href="css/style.css" />
	<link rel="stylesheet" type="text/css" href="css/selectteam.css" />
</head>

<body>
<?php 
session_start();
	function __autoload($class){
		require_once "../Model/".$class.".php";
	}
?>
	<div id="page">
		<div id="header">
			<a href="index.php" id="logo"><img src="../images/background/logo.png" alt="Logo" ></a>
			
			<ul>
				<li>
					<a href="?page=homepage">Home</a>
				</li>
				<li>
					<a href="?page=points">Points</a>
				</li>
				
				<li>
					<a href="?page=selectteam">Team</a>
					<ul>
						<li>
							<a href="?page=selectteam">Select Team</a>
						</li>
						<li>
							<a href="?page=search">Search</a>
						</li>
					</ul>
				</li>
				<li>
					<a href="?page=fixtures">Fixtures</a>
				</li>
				<li>
					<a href="?page=about">Rules</a>
				</li>
				<li><?php if(isset($_SESSION['manager'])){ ?>
					<a href="?page=logout">Logout</a>
					<?php } else{ ?>
					<a href="?page=Login">Login</a>
					<?php  }?>
				</li>
			</ul>
		</div>
		<div id="body">